<?php
echo '<div id="contentBlock" >';
$mainSubview->render(true);
echo '</div>';

$footer = new View('/footer');
$footer->render(true);